package com.deyuanyun.pic.pbf.service.impl;

import com.deyuanyun.pic.pbf.domain.CoatRepair;
import com.deyuanyun.pic.pbf.mapper.CoatRepairMapper;
import com.deyuanyun.pic.pbf.service.CoatRepairService;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CoatRepairServiceImpl implements CoatRepairService {
    @Autowired
    private CoatRepairMapper coatRepairMapper;

    private static final Logger logger = LoggerFactory.getLogger(CoatRepairServiceImpl.class);

    public CoatRepair selectByPrimaryKey(String id) {
        return this.coatRepairMapper.selectByPrimaryKey(id);
    }

    public int deleteByPrimaryKey(String id) {
        return this.coatRepairMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(CoatRepair record) {
        return this.coatRepairMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(CoatRepair record) {
        return this.coatRepairMapper.updateByPrimaryKey(record);
    }

    public int insert(CoatRepair record) {
        return this.coatRepairMapper.insert(record);
    }

    @Override
    public int insertSelective(CoatRepair record) {
        return this.coatRepairMapper.insertSelective(record);
    }
}